package controllers

import "github.com/astaxie/beego"

/**
 *  @Title	ConsumeAnalyzeController
 *  @author liqi    2018/12/19 13:53
 *  @Description	消费分析统计
 */

type ConsumeAnalyzeController struct {
	beego.Controller
}

// @Title
// @author  liqi 2018/12/19 13:54
// @Description 消费分析
// @router /consume/analyze [GET]

func (this *ConsumeAnalyzeController) Get() {

}

// @Title resJson
// @Description global response
func (this *ConsumeAnalyzeController) resJson(msg string, data interface{}) {
	this.Data["json"] = map[string]interface{}{"code": 200, "message": msg, "data": data}
	this.ServeJSON()
}
